lib: Fix compiler warning from previous patch
authorColin Walters <walters@verbum.org>
Thu, 28 Jul 2016 13:57:48 +0000 (09:57 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 28 Jul 2016 14:46:17 +0000 (14:46 +0000)
I had this in a `fixup!` I thought.

Closes: #414
Approved by: giuseppe

src/libostree/ostree-bootconfig-parser.c

index 6ca4df1d928b3913f18dff4618686dfedc71a1fb..f7728e42060cb7bd9f7771129cf8b2dd678fa463 100644 (file)
@@ -244,7 +244,7 @@ static void
 ostree_bootconfig_parser_init (OstreeBootconfigParser *self)
 {
   self->options = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
-  self->lines = g_ptr_array_new_with_free_func (g_variant_unref);
+  self->lines = g_ptr_array_new_with_free_func ((GDestroyNotify)g_variant_unref);
 }
 
 void